<?php
require_once '../source/UtsAirs.php';	
 
 $uts = new UtsAirs();
 
 $auto_wich = $_REQUEST['toOrFrom'];
 
  
 if($auto_wich == 'to')
	echo json_encode($uts->getToCity('to'));
 else 	
	echo json_encode($uts->getToCity('from'));
  
?>